<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>数据上报系统</title>
		<link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/css/index.css" />
		<link rel="stylesheet" href="__PUBLIC__/Home/css/list.css" />
		<script src="__PUBLIC__/assets/js/jquery.min.js"></script>
		<script src="__PUBLIC__/assets/js/jquery.form.js"></script>
		<script src="__PUBLIC__/layer/layer.js"></script>
		<script src="__PUBLIC__/assets/js/bootstrap.js"></script>		
		<link rel="stylesheet" href="__PUBLIC__/assets/css/bootstrap.css" />		
	</head>

	<body>

		<div class="row rowList rowHeader">
			<div class="header1">
				<span class="myIcon" style="margin-right: 5px;">&#xe626;</span>你好，<span id="userName"><php>echo $_SESSION['c_user']</php></span>！
				<a style="color:white;text-decoration: none;" href="{:U('index/loginout')}"><span id="cancel"><span class="myIcon">&#xe611;</span>注销</span></a>
			</div>
			<div class="">
				<img style="height: 40px; margin: 10px 0;" src="__PUBLIC__/Home/img/logo2.png" />
			</div>

		</div>
		<div class="row rowB">
			<div class="rowL">
				<ul id="state">
					<li>
						<div class="stateType">
							新报表任务
						</div>
						<ul class="list">
                            <volist name="w_table" id="v">
                                <li class="">
									<a style="text-decoration: none;" href="{:U('index/table',array('id'=>$v['id']))}">
										<div class="listType">{$v.title}({$v.year}年{$v.quarter}季度)</div>
									</a>
                                </li>
                            </volist>
						</ul>

					</li>
					<li>
						<div class="stateType">
							审核中
						</div>
						<ul class="list"   style="display: block;">
							<volist name="d_table" id="v">
								<li class="">
									<if condition="$v['id'] neq $info['id']"><a style="text-decoration: none;" href="{:U('index/d_table',array('id'=>$v['id']))}"></if>
										<div class="listType">{$v.title}({$v.year}年{$v.quarter}季度)</div>
										<if condition="$v['id'] neq $info['id']"></a></if>
								</li>
							</volist>
						</ul>

					</li>
					<li>
						<div class="stateType">
							未通过
						</div>
						<ul class="list">
							<volist name="n_table" id="v">
								<li class="">
									<a style="text-decoration: none;" href="{:U('index/n_table',array('id'=>$v['id']))}">
										<div class="listType">{$v.title}({$v.year}年{$v.quarter}季度)</div>
									</a>
								</li>
							</volist>
						</ul>

					</li>
					<li>
						<div class="stateType">
							已过期
						</div>
						<ul class="list">
							<volist name="e_table" id="v">
								<li class="">
									<a style="text-decoration: none;" href="{:U('index/e_table',array('id'=>$v['id']))}">
										<div class="listType">{$v.title}({$v.year}年{$v.quarter}季度)</div>
									</a>
								</li>
							</volist>
						</ul>

					</li>
					<li>
						<div class="stateType">
							历史报表
						</div>
						<ul class="list list2">
                            <volist name="y_table" id="y">
                                <li class="">
									<if condition="$y['id'] neq $info['id']"><a style="text-decoration: none;" href="{:U('index/w_table',array('id'=>$y['id']))}"></if>
										<div class="listType">{$y.title}({$y.year}年<if condition="$info['quarter'] eq 1">1<else/>1-{$info['quarter']}</if>季度)</div>
									<if condition="$y['id'] neq $info['id']"></a></if>
                                </li>
                            </volist>
						</ul>

					</li>
				</ul>
			</div>
			<div class="rowR">

				<!--查看的上传数据-->
				<div id="showThis" style="display: block;">
					<form action="{:U('table_upload')}" method="post" id="form2">
					<div class="clearFLoat">
<!--						<input type="hidden" name="tableid" value="{$info.id}" >
						<button id="updata" type="submit"><span class="myIcon">&#xe613;</span>上传数据</button>
						<input type="file" style="display: inline; margin-top: 19px;float: right;" id="excel"  name="excel" />-->


					</div>
					</form>

						<div id="tableDetail">
							<div class="title">
								<div class="titltLeft">
									<h3>{$info['title']}({$info['code']}表)</h3>
								</div>

							</div>
							<div>
								<div class="unit"  style="float: left;margin-top: 80px">
									填报单位：{$info['target']}
									&nbsp;
									<span>年份季度：{$info['year']}年<if condition="$info['quarter'] eq 1">1<else/>1-{$info['quarter']}</if>季度</span>
								</div>
								<div class="titltRight"  style="float: right;">
									<ul>
										<li>表&emsp;&emsp;号：{$info['code']}表</li>
										<li>制定机关：</li>
										<li>批准机关：</li>
										<li>批准文号：</li>
										<li>有效期至：{$info.endtime|date="y-m-d",###}</li>
									</ul>
								</div>
							</div>
							<div id="table">

								<table border="1" cellspacing="0" cellpadding="0" width="100%" frame="hsides">
									<tbody>
										<tr class="level1">
											<td width="30%">指标名称</td>
											<td width="10%">计量单位</td>
											<td width="10%">代码</td>
											<td width="25%">上年<if condition="$info['quarter'] eq 1">1<else/>1-{$info['quarter']}</if>季度</td>
											<td width="25%">本年<if condition="$info['quarter'] eq 1">1<else/>1-{$info['quarter']}</if>季度</td>
										</tr>
										<tr class="level1">
											<td>甲</td>
											<td>乙</td>
											<td>丙</td>
											<td>1</td>
											<td>2</td>
										</tr>

										<foreach name="res" item="v">
											<tr <if condition="$v.code eq '--'">class="level1"<else/>class="level2"</if>>
												<td>{$v.name}</td>
												<td>{$v.metering}</td>
												<td>{$v.code}</td>
												<td>{$v.last}</td>
												<td>{$v.now}</td>
											</tr>
										</foreach>
									</tbody>
								</table>

							</div>
							<div class="footer">
								<p>补充说明：<span>{$info.remark}</span></p>
								<p>报送日期和方式：<span>2017年4月10日前，2,3,4季度于季后15日前，电子邮件和加盖公章的纸介质，季报</span></p>
								<p>
									<ul class="info">
										<li style="width: 25%;">
											单位负责人：{$info.fz}
										</li>
										<li style="width: 20%;">
											联系人：{$info.lx}
										</li>
										<li style="width: 20%;">
											填表人：{$info.tb}
										</li>
										<li style="width: 35%;">
											报出日期：{$info.add_time|date='Y',###}年{$info.add_time|date='m',###}月{$info.add_time|date='d',###}日
										</li>
									</ul>
								</p>
							</div>
						</div>


				</div>

			</div>
		</div>

		<script type="text/javascript" src="__PUBLIC__/Home/js/list3.js"></script>
	</body>
<script>



</script>
</html>